/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package vehicles;

/**
 *
 * @author jonesbr
 */
public class Neon extends Car {

    public String toString() {
        // declare the varaible that holds the data we will return.
        String state = "Neon Operating Cost : " + pricePerGallon * gasConsumed + " Odometer " + odometer + " Gallons of Gas: " + gallonsOfGas + " trip odometer: " + tripOdometer;

        // return the state.
        return state;

    }

    @Override
    public String getCarClass() {
        return "Neon";
    }
}
